package com.jin.webvideo.videoCache.policy.condition;

public class NotCondition<T> extends MonocularCondition<T>{

    public NotCondition(Condition<T> condition) {
        super(condition);
    }

    @Override
    public boolean compute(Condition<T> condition, T data) {
        return !condition.compute(data);
    }
}
